package com.stock.stockana.beans;

import java.util.Date;

public class News {
    private Integer newsid;

    private String stocknum;

    private String sentiCate;	//"n" : neutral; "pos":positive; "neg": negative; 

    private String title;

    private String description;

    private String url;

    private Date pubdate;

    public Integer getNewsid() {
        return newsid;
    }

    public void setNewsid(Integer newsid) {
        this.newsid = newsid;
    }

    public String getStocknum() {
        return stocknum;
    }

    public void setStocknum(String stocknum) {
        this.stocknum = stocknum == null ? null : stocknum.trim();
    }

    public String getSentiCate() {
        return sentiCate;
    }

    public void setSentiCate(String sentiCate) {
        this.sentiCate = sentiCate == null ? null : sentiCate.trim();
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }

    public Date getPubdate() {
        return pubdate;
    }

    public void setPubdate(Date pubdate) {
        this.pubdate = pubdate;
    }
}